package top.fangw.admin;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @description: 租户下的基础信息管理
 * @author: fgw
 * @createDate: 2024/2/21
 */
@Slf4j
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"top.fangw.admin", "top.fangw.common"})
public class AdminApplication {
    public static void main(String[] args) {
        log.info("Begin to start Spring Boot Application");
        long startTime = System.currentTimeMillis();

        SpringApplication.run(AdminApplication.class, args);

        long endTime = System.currentTimeMillis();
        log.info("End starting Spring Boot Application, Time used: " + (endTime - startTime));
    }
}
